type database/sql.driverConn

41 uses

	database/sql (current package)
		sql.go#L523: 	freeConn     []*driverConn // free connections ordered by returnedAt oldest to newest
		sql.go#L534: 	lastPut           map[*driverConn]string // stacktrace of last conn's put; debug only
		sql.go#L564: type driverConn struct {
		sql.go#L582: func (dc *driverConn) releaseConn(err error) {
		sql.go#L586: func (dc *driverConn) removeOpenStmt(ds *driverStmt) {
		sql.go#L592: func (dc *driverConn) expired(timeout time.Duration) bool {
		sql.go#L601: func (dc *driverConn) resetSession(ctx context.Context) error {
		sql.go#L616: func (dc *driverConn) validateConnection(needsReset bool) bool {
		sql.go#L631: func (dc *driverConn) prepareLocked(ctx context.Context, cg stmtConnGrabber, query string) (*driverStmt, error) {
		sql.go#L655: func (dc *driverConn) closeDBLocked() func() error {
		sql.go#L665: func (dc *driverConn) Close() error {
		sql.go#L682: func (dc *driverConn) finalClose() error {
		sql.go#L842: 		lastPut:   make(map[*driverConn]string),
		sql.go#L887: func (db *DB) pingDC(ctx context.Context, dc *driverConn, release func(error)) error {
		sql.go#L901: 	var dc *driverConn
		sql.go#L1012: 	var closing []*driverConn
		sql.go#L1146: func (db *DB) connectionCleanerRunLocked(d time.Duration) (time.Duration, []*driverConn) {
		sql.go#L1148: 	var closing []*driverConn
		sql.go#L1296: 	dc := &driverConn{
		sql.go#L1314: 	conn *driverConn
		sql.go#L1321: func (db *DB) conn(ctx context.Context, strategy connReuseStrategy) (*driverConn, error) {
		sql.go#L1445: 	dc := &driverConn{
		sql.go#L1458: var putConnHook func(*DB, *driverConn)
		sql.go#L1463: func (db *DB) noteUnusedDriverStatement(c *driverConn, ds *driverStmt) {
		sql.go#L1486: func (db *DB) putConn(dc *driverConn, err error, resetSession bool) {
		sql.go#L1547: func (db *DB) putConnDBLocked(dc *driverConn, err error) bool {
		sql.go#L1640: func (db *DB) prepareDC(ctx context.Context, dc *driverConn, release func(error), cg stmtConnGrabber, query string) (*Stmt, error) {
		sql.go#L1701: func (db *DB) execDC(ctx context.Context, dc *driverConn, release func(error), query string, args []any) (res Result, err error) {
		sql.go#L1776: func (db *DB) queryDC(ctx, txctx context.Context, dc *driverConn, releaseConn func(error), query string, args []any) (*Rows, error) {
		sql.go#L1904: func (db *DB) beginDC(ctx context.Context, dc *driverConn, release func(error), opts *TxOptions) (tx *Tx, err error) {
		sql.go#L1951: 	var dc *driverConn
		sql.go#L1991: 	dc *driverConn
		sql.go#L2005: func (c *Conn) grabConn(context.Context) (*driverConn, releaseConn, error) {
		sql.go#L2078: 	var dc *driverConn
		sql.go#L2181: 	dc  *driverConn
		sql.go#L2250: func (tx *Tx) grabConn(ctx context.Context) (*driverConn, releaseConn, error) {
		sql.go#L2577: 	dc *driverConn
		sql.go#L2586: 	grabConn(context.Context) (*driverConn, releaseConn, error)
		sql.go#L2723: func (s *Stmt) connStmt(ctx context.Context, strategy connReuseStrategy) (dc *driverConn, releaseConn func(error), ds *driverStmt, err error) {
		sql.go#L2776: func (s *Stmt) prepareOnConnLocked(ctx context.Context, dc *driverConn) (*driverStmt, error) {
		sql.go#L2935: 	dc          *driverConn // owned; must call releaseConn when closed to release